package com.cnki.caselib.dao.ibatis;

import java.util.List;

import com.cnki.caselib.dao.ArticleDao;
import com.cnki.caselib.domain.Article;
import com.cnki.caselib.util.CrudDaoDefault;

public class ArticleDaoImpl extends CrudDaoDefault implements ArticleDao {

	public List<Article> getArticlesByCid(Long cid){
		return (List<Article>)getSqlMapClientTemplate().queryForList(getNameSpace()+".getArticlesByCid",cid);
	}

}
